|
![](/i/fill.gif) |
> Sometimes when I need a real-life color, I will open a photo with
> IrfanView and click on the color I want, to read the RGB values. I take
> those values and convert them in POV like so:
>
> rgb <128,96,250>/256
You do realise that photos are usually in sRGB colour space and POV expects
linear colour values? By simply pasting the numbers into POV the colours in
the resulting image are going to be washed out and probably of the incorrect
hue...
Better to do a simple inverse gamma correction inside POV (the 2.2 here
roughly approximates the sRGB -> linear conversion):
rgb <pow(128/255,2.2),pow(96/255,2.2),pow(250/255,2.2)>
That way the colours in your POV output image should match much better what
you picked in the first place.
Post a reply to this message
|
![](/i/fill.gif) |